package com.cdxy.model.dto.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @Author: tangy
 * @Date: 2020/2/23 16:51
 */
@Data
@ApiModel
public class SendMobileCodeReq implements Serializable {

    private static final long serialVersionUID = -7900639026576679025L;

    @ApiModelProperty(value = "手机", required = true, example = "18982526883")
    @NotBlank(message = "手机号不能为空")
    private String phone;
}
